package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房屋档案对象 property_house
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class PropertyHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房屋ID */
    private Long houseId;

    /** 所属楼盘 */
    @Excel(name = "所属楼盘")
    private Long buildingId;

    /** 楼栋号 */
    @Excel(name = "楼栋号")
    private String buildingNo;

    /** 单元号 */
    @Excel(name = "单元号")
    private String unitNo;

    /** 楼层 */
    @Excel(name = "楼层")
    private String floorNo;

    /** 房号 */
    @Excel(name = "房号")
    private String houseNo;

    /** 户型 */
    @Excel(name = "户型")
    private String houseType;

    /** 面积(㎡) */
    @Excel(name = "面积(㎡)")
    private BigDecimal area;

    /** 业主ID（关联sys_user） */
    @Excel(name = "业主ID", readConverterExp = "关=联sys_user")
    private Long ownerId;

    /** 产权性质：PRIVATE/PUBLIC */
    @Excel(name = "产权性质：PRIVATE/PUBLIC")
    private String propertyType;

    /** 交付状态：VACANT/INHABITED */
    @Excel(name = "交付状态：VACANT/INHABITED")
    private String deliveryStatus;

    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }

    public void setBuildingNo(String buildingNo) 
    {
        this.buildingNo = buildingNo;
    }

    public String getBuildingNo() 
    {
        return buildingNo;
    }

    public void setUnitNo(String unitNo) 
    {
        this.unitNo = unitNo;
    }

    public String getUnitNo() 
    {
        return unitNo;
    }

    public void setFloorNo(String floorNo) 
    {
        this.floorNo = floorNo;
    }

    public String getFloorNo() 
    {
        return floorNo;
    }

    public void setHouseNo(String houseNo) 
    {
        this.houseNo = houseNo;
    }

    public String getHouseNo() 
    {
        return houseNo;
    }

    public void setHouseType(String houseType) 
    {
        this.houseType = houseType;
    }

    public String getHouseType() 
    {
        return houseType;
    }

    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }

    public void setOwnerId(Long ownerId) 
    {
        this.ownerId = ownerId;
    }

    public Long getOwnerId() 
    {
        return ownerId;
    }

    public void setPropertyType(String propertyType) 
    {
        this.propertyType = propertyType;
    }

    public String getPropertyType() 
    {
        return propertyType;
    }

    public void setDeliveryStatus(String deliveryStatus) 
    {
        this.deliveryStatus = deliveryStatus;
    }

    public String getDeliveryStatus() 
    {
        return deliveryStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("houseId", getHouseId())
            .append("buildingId", getBuildingId())
            .append("buildingNo", getBuildingNo())
            .append("unitNo", getUnitNo())
            .append("floorNo", getFloorNo())
            .append("houseNo", getHouseNo())
            .append("houseType", getHouseType())
            .append("area", getArea())
            .append("ownerId", getOwnerId())
            .append("propertyType", getPropertyType())
            .append("deliveryStatus", getDeliveryStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
